package model;

/**
 *
 * @author elias
 */
public abstract class Bindable {

    private boolean state = false;

    public boolean isLight() {
        return state;
    }

    public void setStateON() {
        this.state = true;
        System.out.println(this.getClass().getName()+ " On");
    }

    public void setStateOFF() {
        this.state = false;
        System.out.println(this.getClass().getName()+ " Off");
    }

}
